import 'package:json_annotation/json_annotation.dart';
import 'package:xindong/models/user/xindong_base_user.dart';
import 'package:xindong/models/xindong_crown_class.dart';

part 'xindong_other_user.g.dart';

@JsonSerializable()
class XinDongOtherUser extends XinDongBaseUser {
  String? last_login_datetime; // "39分钟前"
  String? distance; // 距离
  int? voice_switch;
  int? video_switch;
  dynamic chat_price;
  dynamic voice_price;
  dynamic video_price;

  XinDongOtherUser();

  factory XinDongOtherUser.fromJson(Map<String, dynamic> json) => _$XinDongOtherUserFromJson(json);

  @override
  Map<String, dynamic> toJson() => _$XinDongOtherUserToJson(this);
}
